body {
	background: #b0b0b0 none;
	/* background-image: url(images/harmaa-tausta.gif); */
	color: #000000;
	font-family: Lucida, sans-serif;
}

#content {
	margin-left: 20px;
	margin-right: 15px;
	line-height: 1.4em;
        font-size: 85%;
}

.submenu {
	margin-top: 6px;
	line-height: 1em;
}

.rightmenu {
	text-align: right;
	white-space: nowrap;
	font-weight: 100;
	margin-top: 10px;
	margin-left: 5px;
	margin-right: 5px;
}

th {
	text-align: left;
	font-size: larger;
}

td {
	vertical-align: top;
}

.center {
	text-align: center;
}

.right {
   text-align: right;
}

hr {
	color: #c0c0c0;
	background-color: #c0c0c0;
	border: none;
	height: 1px;
	margin-left: 15px;
	margin-right: 15px;
}

td.address {
	background-color: #e0e0e0;
	color: #606060;
	text-align: center;
	border-top: solid #c0c0c0;
	border-top-width: 1px;
}

.address {
        font-size: 70%;
        font-family: Lucida, sans-serif;
}

.address a:link, .address a:visited {
	color: black;
	text-decoration: none;
}

.address a:active, .address a:hover {
        color: blue;
        text-decoration: none;
}

a {
	text-decoration: none; }
a:link {
	color : #007200; }
a:active {
        color : #007200;
        text-decoration: underline; }
a:visited {
	color : #008200; }
a:hover {
	color: blue;
	background-color: #ffffcc;
	text-decoration: underline;
}
#content a:hover {
	color: blue;
	background-color: #ffffcc;
	text-decoration: underline;
        /* border-bottom: 1px solid blue;
        border-top: 1px solid blue; */
}

.master {
        background-color: white;
        border-color: #707070;
        border-style: solid;
        border-width: 1px;
}

table.sisalto {
	margin-left: 20px;
	background-color: #e0e0e0;
	border-color: #c0c0c0;
	border-style: solid;
	border-width: 1px;
}

td.topmenu {
	background-color: #eee;
   border-bottom: solid #ccc;
   border-bottom-width: 1px;
   border-top: solid #ccc;
   border-top-width: 1px;
	text-align: left;
   font-weight: normal;
   font-size: small;
}

td.topmenu a:link {
   border-right: 1px solid #ccc;
}

td.topmenu a:visited {
   border-right: 1px solid #ccc;
}

td.topmenu a:hover {
	background-color: #ccc;
	text-decoration: none;
}

.passivemenu {
   margin-left: 7px;
   margin-right: 7px;
}

.activemenu {
	color: black;
	margin-left: 7px;
	margin-right: 7px;
}

table.menu {
	margin-top: 5px;
}

.menu td {
	border-right: solid #c0c0c0;
	border-right-width: 1px;
}
.menu td.etusivu {
	border-top: solid #c0c0c0;
	border-top-width: 1px;
}

.menu td p {
	font-size: smaller;
	white-space: nowrap;
	margin-left: 5px;
	margin-right: 10px;
}

table.kalenteri td p {
	margin-left: 5px;
	margin-right: 5px;
}

.nowrap { white-space: nowrap; }

.paiva {
	white-space: nowrap;
	text-align: center;	
}

p.uutinen, p.kalenteri {
	margin-left: 20px;
	margin-bottom: 5px;
}

.topmenu {
	text-align: center;
	vertical-align: bottom;
	font-size: smaller;
	white-space: nowrap;
}

.right_bottom {
	text-align: right;
	vertical-align: bottom;
	margin-bottom: 0;
}

.powered {
	color: #555;
	font-size: 90%;
	font-weight: bold;
	margin: 1em 0 0 0;
}

.small, small { font-size: 80%; }

h1, h2, h3, h4, h5, h6 { color : #505050; }
h1 {
	font-size: 130%;
	margin-top: 10px;
	border-bottom: dotted 1px #bbb;
}
h2 {
	font-size: 110%;
}
h3 {
	font-size: 100%;
	border-bottom: dotted 1px #bbb;
}
h4 { font-size: 95%; }

td.active {
	background-color: #e0e0e0;
        border-bottom: solid #c0c0c0;
        border-bottom-width: 1px;
        border-top: solid #c0c0c0;
        border-top-width: 1px;
        border-right: solid #c0c0c0;
        border-right-width: 1px;
}

ul {
        list-style-type: disc;
        list-style-image: url(images/pyr.gif);
        line-height: 1.5em;
}

ul.rss li, ul li.pdf {
	list-style-type: disc;
        list-style-image: url(images/pdf-16x16.gif);
}

ul.rss li, ul li.rss {
	list-style-type: disc;
	list-style-image: url(images/16px-Feed-icon.svg.png);	
}
table.tulokset { margin: 0 0 0 20px; border-collapse: collapse; }
table.tulokset td.numero { text-align: right; }

table.list { margin: 0 0 0 20px; border-collapse: collapse; }
table.list td, table.list th {
	border-bottom: dotted 1px #bbb;
	padding-left: 4px;
	padding-right: 4px; }
table.list td.first { border-left: dotted 1px #bbb; }
table.list td { border-right: dotted 1px #bbb; }

#content a[href ^="http://"] {
	background: url("images/external.png") center right no-repeat;
	padding-right: 12px;
	color: blue; }
#content a:visited[href ^="http://"] {
        color: #3366ff; }
#content a:hover[href ^="http://"] {
	color: #cc0000;
	background-color: #ffffcc; }

#content a[href ^="https://"] {
	background: url("images/lock_icon.gif") center right no-repeat;
	padding-right: 16px;
	color: blue; }
#content a:visited[href ^="https://"] {
        color: #3366ff; }
#content a:hover[href ^="https://"] {
        color: #cc0000;
	background-color: #ffffcc; }

#content a[href ^="ftp://"] {
	background: url("images/file_icon.gif") center right no-repeat;
	padding-right: 18px; }
#content a:visited[href ^="ftp://"] {
        color: #3366ff; }
#content a:hover[href ^="ftp://"] {
        color: #cc0000;
	background-color: #ffffcc; }

#content a[href ^="mailto:"] {
	background: url("images/mail_icon.gif") center right no-repeat;
	padding-right: 18px; }
#content a:visited[href ^="mailto:"] {
        color: #3366ff; }
#content a:hover[href ^="mailto:"] {
        color: #cc0000;
	background-color: #ffffcc; }

ul {
        list-style-type: disc;
        list-style-image: url(images/pyr.gif);

	line-height: 1.5em;
}

#content .header_notif, .rss_date, .date {
	margin: 0 0 0 0;
	font-size: 70%;
	color: #777; }
.header { margin-bottom: 0; }

.file_notif {
	font-size: 70%;
	text-align: right;
	color: #aaa; }

input, textarea, option, select {
	font-family: Lucida, sans-serif;
	font-size: 90%;
	background-color: #e0e0e0; }

.message_preview {
	font-family: "Courier New", Courier, monospace;
	border: 1px solid #707070;
	background-color: #e0e0e0; }

.error, .virhe {
	border: 1px solid #707070;
	background-color: red;
	color: yellow;
	padding: 1em 1em 1em 1em;
	font-size: 150%;
}

img.image-gallery, img.news {
	border: 1px solid #707070; }

img.news {
	margin: 0 0 4px 4px; }

.image-gallery td {
	vertical-align: middle;
	text-align: center; }
.image-gallery td img {
	margin: 0 10px 7px 0; }

table.image-news td img {
	margin: 0 10px 7px 0; }
table.image-news td {
	padding-top: 0.5em;
        margin-right: 10px;
	border-bottom: dotted 1px #bbb; }
table.image-news td img {
        margin: 0 10px 7px 0; }

.raita {
	border-bottom: dotted 1px #bbb;
}
.raita-top {
        border-top: dotted 1px #bbb;
}

table.etusivu {
	margin-top: 1em;
}

.statusbar {
	margin: 1px 0 0 1em;
	font-size: 70%;
}
.statusbar a {
	color: #666;
}

.note, .red {
	color: red;
}

.green {
	color: green;
}

.blue {
	color: blue;
}

.sponsor {
	text-align: right;
	margin-top: 1px;
	margin-right: 1em;
	font-size: 9px;
	color: #303030;
}

img.testi { border: 1px solid #707070; }

.notebox {
	border: 1px solid #707070;
	background-color: #e0e0e0;
	margin-left: 1em;
	margin-right: 2em;
	padding-left: 0.5em;
	padding-top: 0.3em;
	padding-bottom: 0.3em;
}

tr.yhteenveto {
	border-top: 2px solid #bbb;
	font-weight: bolder;
}

table.scoretable td {
	text-align: center;
	empty-cells: hide;
	width: 1em; }
table.scoretable td.name {
	text-align: left;
	white-space: nowrap;
	width: auto; }
table.scoretable td.score {
	padding-left: 4px;
	padding-right: 4px;
	border: dotted #c0c0c0;
	border-width: 1px; }
table.scoretable td.sscore {
	background-color: #e0e0e0;
	padding-left: 6px;
	padding-right: 6px;
	border: dotted #c0c0c0;
	border-width: 1px;
	font-weight: bolder; }
table.scoretable td.fscore {
        background-color: yellow;
        padding-left: 6px;
        padding-right: 6px;
        border: dotted red;
        border-width: 1px;
        font-weight: bolder; }
table.scoretable td.ffscore {
        background-color: #ffcc99;
        padding-left: 6px;
        padding-right: 6px;
        border: dotted red;
        border-width: 1px;
        font-weight: bolder; }
table.scoretable td.pscore {
        background-color: #ccffff;
        padding-left: 6px;
        padding-right: 6px;
        border: dotted #c0c0c0;
        border-width: 1px;
        font-weight: bolder; }
table.scoretable td.spscore {
        background-color: #99ffff;
        padding-left: 6px;
        padding-right: 6px;
        border: dotted #c0c0c0;
        border-width: 1px;
        font-weight: bolder; }
table.scoretable td.fpscore {
        background-color: #66ffff;
        padding-left: 6px;
        padding-right: 6px;
        border: dotted #c0c0c0;
        border-width: 1px;
        font-weight: bolder; }

table.mainpagenews h2 {
	margin-bottom: 0; }

.mainpagenews {
	padding: 0.5em 0.6em 0em 0.6em;
	margin: 0.5em 0.3em 0 0.3em;
}
.mainpagenews p.header_notif {
	margin-top: 0;
	margin-bottom: 0;
}
.mainpagenews h2 {
	margin-bottom: 0;
	margin-top: 0;
}
.mainpagenews p {
	margin-top: 0.5em;
	margin-bottom: 0.5em;
}

.rightbox2 {
        border: 1px solid #ccc;
        font-size: 85%;
}
.rightbox2 th {
        background-color: #ddd;
        border: 1px solid #bbb;
        color : #666;
        white-space: nowrap;
	padding: 0 0.3em 0 0.3em;
}
.rightbox2 th a {
        text-decoration: none;
        color : #333;
}
.rightbox2 th a:hover {
        color: blue;
	background-color: transparent;
	text-decoration: underline;
}
.rightbox2 td {
        padding-top: 0;
        padding-bottom: 0;
}

table.cup td {
	border: 1px dotted #c0c0c0;
	vertical-align: middle;
}

table.cup td.subround {
	border: none;
}

.nobr {
	white-space: nowrap;
}

div.markerTooltip, div.markerDetail {
        color: black;
        font-size: smaller;
        font-weight: bold;
        background-color: white;
        white-space: nowrap;
        margin: 0;
        padding: 2px 4px;
        border: 1px solid black;
}